package com.loancalculator;

public class Loan {
	private double monthAmount;
	private double totalAmount;
	private double totalInterest;

	public double getMonthAmount() {
		return monthAmount;
	}

	public void setMonthAmount(double monthAmount) {
		this.monthAmount = monthAmount;
	}

	public double getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(double totalAmount) {
		this.totalAmount = totalAmount;
	}

	public double getTotalInterest() {
		return totalInterest;
	}

	public void setTotalInterest(double totalInterest) {
		this.totalInterest = totalInterest;
	}

	public String toString() {
		return "Loan [monthAmount=" + monthAmount + ", totalAmount="
				+ totalAmount + ", totalInterest=" + totalInterest + "]";
	}

}
